#include "util.h"

void fclamp(float *target, float min, float max) {
	if(*target < min) *target = min;
	if(*target > max) *target = max;
}